package com.hzy.fivepalace.service;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * 启动程序
 *
 * @author gejian
 */
@SpringBootApplication(scanBasePackages = { "com.hzy.fivepalace.db", "com.hzy.fivepalace.common",
        "com.hzy.fivepalace.service" })
@MapperScan({ "com.hzy.fivepalace.db.dao", "com.hzy.fivepalace.db.dao.ex" })
@EnableTransactionManagement
@EnableScheduling
public class ServiceApplication
{
    public static void main(String[] args)
    {
        SpringApplication.run(ServiceApplication.class, args);
        System.out.println("(♥◠‿◠)ﾉﾞ  嗨美汇-服务中心启动成功   ლ(´ڡ`ლ)ﾞ \n");
    }
}
